import React, {Component} from 'react'
import {Button} from 'antd'

class Page extends Component{
    render(){
        return(
            <div className='reactBox'>
                <h3>我是page</h3>
                <Button type='primary' onClick={() => this.props.history.push('/')}>跳转到Test</Button>
                <Button type='primary' onClick={() => this.props.history.push('home')}>跳转到Home</Button>
            </div>
        )
    }
}

export default Page